<div class="tab_item" style="display:block;">
    <div class="ui_table">
        <fieldset>
            <legend>基本信息</legend>
            <div class="ui_table">
                <table cellpadding="0" cellspacing="0">
                    <tr>
                        <td align="right">名称：</td>
                        <td><input type="text" class="text easyui-validatebox" value="${(entity.agencyName)!''}"/></td>
                        <td align="right">联系电话：</td>
                        <td><input type="text" class="text easyui-validatebox" value="${(entity.tel)!''}"/></td>
                    </tr>
                    <#--新增：负责人姓名、详细地址-->
                    <tr>
                        <td align="right">负责人姓名：</td>
                        <td><input type="text" class="text easyui-validatebox" value="${(entity.principalName)!''}"/></td>
                        <td align="right">详细地址：</td>
                        <td><input type="text" class="text easyui-validatebox" value="${(entity.detailAddress)!''}"/></td>
                    </tr>
                    <tr>
                        <td align="right">所属运营商：</td>
                        <td><input type="text" class="text easyui-validatebox" value="${(entity.agentName)!''}"/></td>
                        <td align="right">账户余额：</td>
                        <td><input type="text" class="text easyui-validatebox"
                                   value="<#if entity.balance??&&entity.balance!=0>${entity.balance/100}<#else>0.00</#if>元"/>
                        </td>
                    </tr>
                <#--新增：-->
                    <tr>
                        <td align="right">套餐收入：</td>
                        <td><input type="text" class="text easyui-validatebox" value="${sumAgencyMoney2/100}元"/></td>
                        <td align="right">换电收入：</td>
                        <td><input type="text" class="text easyui-validatebox" value="${sumAgencyMoney1/100}元"/>
                        </td>
                    </tr>

                    <tr>
                        <td align="right">启用状态：</td>
                        <td><input type="checkbox" class="checkbox" name="activeFlag" value="1"
                                   <#if (entity.activeFlag)?? && entity.activeFlag == 1>checked</#if> /></td>
                        <td align="right">创建时间：</td>
                        <td><input class="text easyui-validatebox" value="${entity.createTime?string('yyyy-MM-dd HH:mm:ss')}"/></td>
                    </tr>
                    <tr>
                        <td align="right" valign="top" style="padding-top:10px;">备注：</td>
                        <td colspan="3"><textarea style="width:425px;" name="memo">${(entity.memo)!''}</textarea></td>
                    </tr>
                </table>
            </div>
        </fieldset>
    </div>
</div>


